package com.dao;

import com.pojo.CarouselFigure;

import java.util.List;

public interface CarouselFigureDao {
    List<CarouselFigure> findAll(int start,int limit);

    int selectCount();

    int findMaxSerialNumber();

    int addCF(CarouselFigure carouselFigure);

    int deleteCF(String id);

    CarouselFigure findByID(String id);

    CarouselFigure findBySequenceNum(Integer SequenceNum);

    int updateCF(CarouselFigure carouselFigure);
}
